package com.bdqn.bookshop.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : 罗若然[LUO_RUO_RAN]
 * @date : 2020-07-23 16:30
 **/
@Controller
@RequestMapping("/admin")
public class AdminIndexController {

       @RequestMapping("{view}.html")
    public String index(@PathVariable("view") String view){
        return "admin/"+view;
    }

}
